﻿using System.Xml;
using Jayden.Sc2;

namespace Jayden.Dll.Sc2.Descriptions.Zerg
{
	public class ZergRaceDescription : RaceDescription
	{
		public ZergRaceDescription(RaceDictionary dictionary, XmlNode raceNode)
			: base(dictionary, raceNode) { }

		public override ActionDescription NewAction(EntityDescription entity, XmlNode node)
		{
			if (node.Name == "Inject")
				return new InjectActionDescription(entity, node);
			return base.NewAction(entity, node);
		}
	}
}
